from tasks import add

result = add.delay(3, 4)
print('Is task ready: %s' % (result.ready()))

# run_result = result.get(timeout=1)
run_result = result.get()
print('task result: %s' % run_result)
